<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class PdoGsb</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class PdoGsb</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Classe d'accès aux données.</p>
<p class="description"><p>Utilise les services de la classe PDO  pour l'application GSB  Les attributs sont tous statiques,  les 4 premiers pour la connexion  $monPdo de type PDO  $monPdoGsb qui contiendra l'unique instance de la classe</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Cheri Bibi</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">link:</span> <a href="http://www.php.net/manual/fr/book.pdo.php">http://www.php.net/manual/fr/book.pdo.php</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_include---class.pdogsb.inc.php.html">/include/class.pdogsb.inc.php</a> (line <span class="field">18</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																				<div class="method-definition">
					static 						<span class="method-result">l'unique</span>
										<a href="#getPdoGsb" title="details" class="method-name">getPdoGsb</a>
										()
									</div>
																																																
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#creeNouveauFraisHorsForfait" title="details" class="method-name">creeNouveauFraisHorsForfait</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type">$libelle</span>&nbsp;<span class="var-name">$libelle</span>, <span class="var-type">$date</span>&nbsp;<span class="var-name">$date</span>, <span class="var-type">$montant</span>&nbsp;<span class="var-name">$montant</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#creeNouvellesLignesFrais" title="details" class="method-name">creeNouvellesLignesFrais</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">le</span>
										<a href="#dernierMoisSaisi" title="details" class="method-name">dernierMoisSaisi</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">vrai</span>
										<a href="#estPremierFraisMois" title="details" class="method-name">estPremierFraisMois</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">l'id,</span>
										<a href="#getInfosUtilisateur" title="details" class="method-name">getInfosUtilisateur</a>
											(<span class="var-type">$login</span>&nbsp;<span class="var-name">$login</span>, <span class="var-type">$mdp</span>&nbsp;<span class="var-name">$mdp</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">l'id,</span>
										<a href="#getLesFraisForfait" title="details" class="method-name">getLesFraisForfait</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">tous</span>
										<a href="#getLesFraisHorsForfait" title="details" class="method-name">getLesFraisHorsForfait</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">un</span>
										<a href="#getLesIdFrais" title="details" class="method-name">getLesIdFrais</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">un</span>
										<a href="#getLesInfosFicheFrais" title="details" class="method-name">getLesInfosFicheFrais</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">un</span>
										<a href="#getLesMoisDisponibles" title="details" class="method-name">getLesMoisDisponibles</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">le</span>
										<a href="#getNbjustificatifs" title="details" class="method-name">getNbjustificatifs</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
									</div>
																								<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#majEtatFicheFrais" title="details" class="method-name">majEtatFicheFrais</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$etat</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">un</span>
										<a href="#majFraisForfait" title="details" class="method-name">majFraisForfait</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type">$lesFrais</span>&nbsp;<span class="var-name">$lesFrais</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#majNbJustificatifs" title="details" class="method-name">majNbJustificatifs</a>
											(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$nbJustificatifs</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#supprimerFraisHorsForfait" title="details" class="method-name">supprimerFraisHorsForfait</a>
											(<span class="var-type">$idFrais</span>&nbsp;<span class="var-name">$idFrais</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_destruct" title="details" class="method-name">_destruct</a>
										()
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			
Strict standards: Only variables should be passed by reference in C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php on line 712

Call Stack:
    0.0000     123008   1. {main}() C:\wamp\bin\php\php5.4.16\phpdoc:0
    0.0000     128072   2. require('C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\phpdoc.inc') C:\wamp\bin\php\php5.4.16\phpdoc:40
    3.0844    5513584   3. phpDocumentor_setup->createDocs() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\phpdoc.inc:65
    6.6095    7452704   4. phpDocumentor_IntermediateParser->Output() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Setup.inc.php:763
    6.7096    7530624   5. phpDocumentor_IntermediateParser->Convert() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\IntermediateParser.inc:1867
    6.7096    7530672   6. Converter->walk() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\IntermediateParser.inc:1654
    7.2404    8134688   7. HTMLframesConverter->endClass() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Converter.inc:1936
    7.2404    8135696   8. Smarty->fetch() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Converters\HTML\frames\HTMLframesConverter.inc:347
    7.3105    8445648   9. include('C:\wamp\www\gsbMVC\documentation\26d3399f63abd43a7d72f8c21440dcb0\%%165^%%1653142046^class.tpl.php') C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1298
    7.3305    8524544  10. Smarty->_smarty_include() C:\wamp\www\gsbMVC\documentation\26d3399f63abd43a7d72f8c21440dcb0\%%165^%%1653142046^class.tpl.php:684
    7.3305    8527280  11. Smarty->_compile_resource() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1935
    7.3305    8540656  12. Smarty->_compile_source() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1458
    7.3305    8571232  13. Smarty_Compiler->_compile_file() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1523
    7.3305    8636744  14. Smarty_Compiler->_compile_tag() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:316
    7.3305    8637320  15. Smarty_Compiler->_compile_custom_tag() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:537


Strict standards: Only variables should be passed by reference in C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php on line 712

Call Stack:
    0.0000     123008   1. {main}() C:\wamp\bin\php\php5.4.16\phpdoc:0
    0.0000     128072   2. require('C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\phpdoc.inc') C:\wamp\bin\php\php5.4.16\phpdoc:40
    3.0844    5513584   3. phpDocumentor_setup->createDocs() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\phpdoc.inc:65
    6.6095    7452704   4. phpDocumentor_IntermediateParser->Output() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Setup.inc.php:763
    6.7096    7530624   5. phpDocumentor_IntermediateParser->Convert() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\IntermediateParser.inc:1867
    6.7096    7530672   6. Converter->walk() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\IntermediateParser.inc:1654
    7.2404    8134688   7. HTMLframesConverter->endClass() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Converter.inc:1936
    7.2404    8135696   8. Smarty->fetch() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Converters\HTML\frames\HTMLframesConverter.inc:347
    7.3105    8445648   9. include('C:\wamp\www\gsbMVC\documentation\26d3399f63abd43a7d72f8c21440dcb0\%%165^%%1653142046^class.tpl.php') C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1298
    7.3305    8524544  10. Smarty->_smarty_include() C:\wamp\www\gsbMVC\documentation\26d3399f63abd43a7d72f8c21440dcb0\%%165^%%1653142046^class.tpl.php:684
    7.3305    8527280  11. Smarty->_compile_resource() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1935
    7.3305    8540656  12. Smarty->_compile_source() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1458
    7.3305    8571232  13. Smarty_Compiler->_compile_file() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty.class.php:1523
    7.3506    8657432  14. Smarty_Compiler->_compile_tag() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:316
    7.3506    8658008  15. Smarty_Compiler->_compile_custom_tag() C:\wamp\bin\php\php5.4.16\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\Smarty_Compiler.class.php:537

<A NAME='method_detail'></A>
<a name="methodgetPdoGsb" id="getPdoGsb"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">static method getPdoGsb</span> (line <span class="line-number">43</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Fonction statique qui crée l'unique instance de la classe</p>
<p class="description"><p>Appel : $instancePdoGsb = PdoGsb::getPdoGsb();</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> objet de la classe PdoGsb</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">l'unique</span>
		<span class="method-name">
			getPdoGsb
		</span>
				()
			</div>
	
		
			
	</div>

<a name="methodcreeNouveauFraisHorsForfait" id="creeNouveauFraisHorsForfait"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">creeNouveauFraisHorsForfait</span> (line <span class="line-number">232</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Crée un nouveau frais hors forfait pour un utilisateur un mois donné</p>
<p class="description"><p>à partir des informations fournies en paramètre</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			creeNouveauFraisHorsForfait
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type">$libelle</span>&nbsp;<span class="var-name">$libelle</span>, <span class="var-type">$date</span>&nbsp;<span class="var-name">$date</span>, <span class="var-type">$montant</span>&nbsp;<span class="var-name">$montant</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
					<li>
				<span class="var-type">$libelle</span>
				<span class="var-name">$libelle</span><span class="var-description">: : le libelle du frais</span>			</li>
					<li>
				<span class="var-type">$date</span>
				<span class="var-name">$date</span><span class="var-description">: : la date du frais au format français jj//mm/aaaa</span>			</li>
					<li>
				<span class="var-type">$montant</span>
				<span class="var-name">$montant</span><span class="var-description">: : le montant</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcreeNouvellesLignesFrais" id="creeNouvellesLignesFrais"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">creeNouvellesLignesFrais</span> (line <span class="line-number">204</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Crée une nouvelle fiche de frais et les lignes de frais au forfait pour un utilisateur et un mois donnés</p>
<p class="description"><p>récupère le dernier mois en cours de traitement, met à 'CL' son champs idEtat, crée une nouvelle fiche de frais  avec un idEtat à 'CR' et crée les lignes de frais forfait de quantités nulles</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			creeNouvellesLignesFrais
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddernierMoisSaisi" id="dernierMoisSaisi"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">dernierMoisSaisi</span> (line <span class="line-number">188</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne le dernier mois en cours d'un utilisateur</p>
	<ul class="tags">
				<li><span class="field">return:</span> mois sous la forme aaaamm</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">le</span>
		<span class="method-name">
			dernierMoisSaisi
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
				</ul>
		
			
	</div>
<a name="methodestPremierFraisMois" id="estPremierFraisMois"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">estPremierFraisMois</span> (line <span class="line-number">170</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Teste si un utilisateur possède une fiche de frais pour le mois passé en argument</p>
	<ul class="tags">
				<li><span class="field">return:</span> ou faux</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">vrai</span>
		<span class="method-name">
			estPremierFraisMois
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetInfosUtilisateur" id="getInfosUtilisateur"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getInfosUtilisateur</span> (line <span class="line-number">56</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne les informations d'un utilisateur</p>
	<ul class="tags">
				<li><span class="field">return:</span> le nom et le prénom sous la forme d'un tableau associatif</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">l'id,</span>
		<span class="method-name">
			getInfosUtilisateur
		</span>
					(<span class="var-type">$login</span>&nbsp;<span class="var-name">$login</span>, <span class="var-type">$mdp</span>&nbsp;<span class="var-name">$mdp</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$login</span>
				<span class="var-name">$login</span>			</li>
					<li>
				<span class="var-type">$mdp</span>
				<span class="var-name">$mdp</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLesFraisForfait" id="getLesFraisForfait"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getLesFraisForfait</span> (line <span class="line-number">108</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne sous forme d'un tableau associatif toutes les lignes de frais au forfait</p>
<p class="description"><p>concernées par les deux arguments</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> le libelle et la quantité sous la forme d'un tableau associatif</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">l'id,</span>
		<span class="method-name">
			getLesFraisForfait
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLesFraisHorsForfait" id="getLesFraisHorsForfait"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getLesFraisHorsForfait</span> (line <span class="line-number">75</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne sous forme d'un tableau associatif toutes les lignes de frais hors forfait</p>
<p class="description"><p>concernées par les deux arguments  La boucle foreach ne peut être utilisée ici car on procède  à une modification de la structure itérée - transformation du champ date-</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> les champs des lignes de frais hors forfait sous la forme d'un tableau associatif</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">tous</span>
		<span class="method-name">
			getLesFraisHorsForfait
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLesIdFrais" id="getLesIdFrais"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getLesIdFrais</span> (line <span class="line-number">123</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne tous les id de la table FraisForfait</p>
	<ul class="tags">
				<li><span class="field">return:</span> tableau associatif</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">un</span>
		<span class="method-name">
			getLesIdFrais
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetLesInfosFicheFrais" id="getLesInfosFicheFrais"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getLesInfosFicheFrais</span> (line <span class="line-number">279</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne les informations d'une fiche de frais d'un utilisateur pour un mois donné</p>
	<ul class="tags">
				<li><span class="field">return:</span> tableau avec des champs de jointure entre une fiche de frais et la ligne d'état</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">un</span>
		<span class="method-name">
			getLesInfosFicheFrais
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetLesMoisDisponibles" id="getLesMoisDisponibles"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getLesMoisDisponibles</span> (line <span class="line-number">253</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne les mois pour lesquel un utilisateur a une fiche de frais</p>
	<ul class="tags">
				<li><span class="field">return:</span> tableau associatif de clé un mois -aaaamm- et de valeurs l'année et le mois correspondant</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">un</span>
		<span class="method-name">
			getLesMoisDisponibles
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetNbjustificatifs" id="getNbjustificatifs"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getNbjustificatifs</span> (line <span class="line-number">94</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Retourne le nombre de justificatif d'un utilisateur pour un mois donné</p>
	<ul class="tags">
				<li><span class="field">return:</span> nombre entier de justificatifs</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">le</span>
		<span class="method-name">
			getNbjustificatifs
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmajEtatFicheFrais" id="majEtatFicheFrais"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">majEtatFicheFrais</span> (line <span class="line-number">295</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Modifie l'état et la date de modification d'une fiche de frais</p>
<p class="description"><p>Modifie le champ idEtat et met la date de modif à aujourd'hui</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			majEtatFicheFrais
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$etat</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$etat</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmajFraisForfait" id="majFraisForfait"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">majFraisForfait</span> (line <span class="line-number">140</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Met à jour la table ligneFraisForfait</p>
<p class="description"><p>Met à jour la table ligneFraisForfait pour un utilisateur et  un mois donné en enregistrant les nouveaux montants</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> tableau associatif</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">un</span>
		<span class="method-name">
			majFraisForfait
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type">$lesFrais</span>&nbsp;<span class="var-name">$lesFrais</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
					<li>
				<span class="var-type">$lesFrais</span>
				<span class="var-name">$lesFrais</span><span class="var-description">: tableau associatif de clé idFrais et de valeur la quantité pour ce frais</span>			</li>
				</ul>
		
			
	</div>
<a name="methodmajNbJustificatifs" id="majNbJustificatifs"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">majNbJustificatifs</span> (line <span class="line-number">158</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">met à jour le nombre de justificatifs de la table ficheFrais</p>
<p class="description"><p>pour le mois et le utilisateur concerné</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			majNbJustificatifs
		</span>
					(<span class="var-type">$idUtilisateur</span>&nbsp;<span class="var-name">$idUtilisateur</span>, <span class="var-type">$mois</span>&nbsp;<span class="var-name">$mois</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$nbJustificatifs</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idUtilisateur</span>
				<span class="var-name">$idUtilisateur</span>			</li>
					<li>
				<span class="var-type">$mois</span>
				<span class="var-name">$mois</span><span class="var-description">: sous la forme aaaamm</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$nbJustificatifs</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsupprimerFraisHorsForfait" id="supprimerFraisHorsForfait"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">supprimerFraisHorsForfait</span> (line <span class="line-number">243</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Supprime le frais hors forfait dont l'id est passé en argument</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			supprimerFraisHorsForfait
		</span>
					(<span class="var-type">$idFrais</span>&nbsp;<span class="var-name">$idFrais</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$idFrais</span>
				<span class="var-name">$idFrais</span>			</li>
				</ul>
		
			
	</div>
<a name="method_destruct" id="_destruct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_destruct</span> (line <span class="line-number">33</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_destruct
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Thu, 12 Sep 2013 14:33:50 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>